<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<link href="images/skin.css" rel="stylesheet" type="text/css" />
<link href="images/fox.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" language="JavaScript">

$(function(){  //文档加载 
$(".tbody tr").hover( 
  function(){ 
    $(this).addClass("hover");    //鼠标经过添加hover样式 
  }, 
  function(){ 
    $(this).removeClass("hover");   //鼠标离开移除hover样式 
  }

); 
}); 

</script> 
<script type="text/javascript">
	function update(storagePositionId){
		location="position!executeUpdate.action?storagepostion.storagePositionId="+storagePositionId;
		
	}
</script>
<style type="text/css"> 
.hover{background-color:#CACACA;}  /*这里是鼠标经过时的颜色*/ 

</style>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">仓库管理</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
			<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="line_table">
		<tr>
		<td width="20">
		<img src="images/icon-login-seaver.gif" width="16" height="16" />
		</td>
		<td>
		当前位置：仓库管理>>库位管理(storageAreas.html)</td>

	</tr>
	</table>
	        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="line_table">
		<tr>
		
		<td width="7%" align="center" height="30"><span class="left_bt2">仓库名</span></td>
		<td width="18%"><select name="projectname" class="sec2" style="width:200px">
          <option value="0" selected="selected">请选择</option>
          <option value="2009">嘉庆仓库</option>
          <option value="2010">嘉庆仓库</option>
        </select></td>
		  <td width="10%" align="left">
		   <input type="button" class="Submit" value="查看" style="width:100px"/>
		  </td>
		  <td width="65%">
		 
		  <input type="button" class="Submit" value="添加库位" style="width:100px" onclick="window.location='storageAreasCreate.html'"/>	
		  </td>
	</tr>
	</table>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="line_table">
		<thead class="thead">
    	<tr>
		<th width="10%">序号</th>
		<th width="18%">仓库名称</th>
		<th width="20%">库位名称</th>
		<th width="26%">在库车辆</th>	
		<th width="26%">操作</th>
		</tr>
		</thead>
		<tbody class="tbody">
		<s:iterator value="posList" var="pos" status="index">
		 <tr>
		<td><s:property value="#index.index+1"/></td>
		<td><s:property value="#pos.storage.storageName"/></td>
		<td><s:property value="#pos.storagePositionName"/></td>
		<td><s:property value="#pos.vehicle.vinNumber"/></td>
		
		<td><a href="javascript:update(${pos.storagePositionId})" style="color:#000099">修改</a></td>
		</tr>
		</s:iterator>
		</tbody>						
    </table>
		<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="line_table">
		<tr>
			<td width="869">&nbsp;</td>
		  <td width="63" align="right"><a href="#"><span class="left_ts">首页</span></a></td>
		  <td width="63" align="right"><a href="#"><span class="left_ts">上一页</span></a></td>
		  <td width="63" align="center"><span class="admin_toptxt">1/15</span></td>
		  <td width="66" align="left"><a href="#"><span class="left_ts">下一页</span></a></td>
		  <td width="63" align="left"><a href="#"><span class="left_ts">尾页</span></a></td>
		</tr>
	</table>
	</td>
    <td background="images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
页面要求：<br />
1.列表页面，每页显示15条数据。
</body>
</html>